package net.hn.hnms.biz.meeting.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "schedule_mining", schema = "hygl", catalog = "huaneng-general")
public class ScheduleMining extends BaseModel implements Serializable {

    @ApiModelProperty(value = "id")
    @TableField(value = "schedule_id", fill = FieldFill.INSERT)
    @TableId(type = IdType.ASSIGN_UUID)
    private String scheduleId;

    @ApiModelProperty(value = "日程标题名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String scheduleTitleName;


    @ApiModelProperty(value = "日程日期")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date scheduleDate;

    @ApiModelProperty(value = "通知内容")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String noticeContent;



    @ApiModelProperty(value = "状态")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer status;


    @ApiModelProperty(value = "通知类型")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer notice;


    @ApiModelProperty(value = "通知类型")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer userId;

}
